package sctu.edu.java.year2016.team07.nieying.practice.Review;

import java.util.Scanner;

/**
 * Created by Administrator on 2016/6/15 0015.
 */
public class Volume {
    public static void main(String[] args){
        Scanner scan=new Scanner(System.in);
        System.out.println("输入球的半径:");
        double r=scan.nextDouble();
        final double PI=3.1415926;
        double volume=4.0/3.0*PI*r*r*r;
        System.out.println(""+volume);

    }
}
